//==============================================================================
// Hoplite_Anim.txt
//==============================================================================

import UMC_attachments_anim.txt

//==============================================================================
define hammer
{
   set hotspot
   {
      version
      {
         Visual Tool Hammer
      }
   }
}

//==============================================================================
define shield
{
   SetSelector
   {
		set hotspot
		{
			version
			{
				Visual attachments r legionary shield
				ReplaceTexture infantry x trident soldier shield iron/attachments r legionary  shield square
			}
		}
	}
}

//==============================================================================
define Head
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Standard
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Copper
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry G Hoplite Head Bronze
         }
      }
      set hotspot
      {
         version
         {
            Visual legionary head
	        ReplaceTexture cavalry g prodromos head iron/legionary head
         }
      }
   }
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_BoredA
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_BoredA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_BoredA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_BoredA
					ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
	}
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_IdleA
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_IdleA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_IdleA
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_IdleA
					ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
	}
}


//==============================================================================
anim run
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag FootstepLeft 0.00 true   
            tag FootstepRight 0.50 true   
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
   }
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		CinematicLogic
		SetSelector
		{
			TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
				version
				{
					Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.51 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
				version
				{
					Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.51 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
				version
				{
					Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.51 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
				version
				{
					Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.51 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
					connect Righthand Gladius Hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag SpecificSoundSet 0.11 false MaleDeath checkVisible 
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Copper
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Hoplite Bronze
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				ReplaceTexture Infantry G Hoplite Standard/infantry r legionario standard
				connect Righthand Gladius Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
         }
      }
   }
}

//==============================================================================

anim Build
{      
   SetSelector
   {
      TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Archer N Throwing Axeman_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.60 false Build checkVisible 
//-- end auto generated section
				connect Righthand Hammer Hotspot
				connect LeftForearm NorseArcherShield Hotspot
				Connect TopOfHead Head hotspot
				connect Smokepoint norseaxe Hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Archer N Throwing Axeman_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.60 false Build checkVisible 
//-- end auto generated section
				ReplaceTexture Archer N Throwing Axeman Standard/Infantry G Hoplite Copper
				connect Righthand Hammer Hotspot
				connect LeftForearm NorseArcherShield Hotspot
				Connect TopOfHead Head hotspot
				connect Smokepoint norseaxe Hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Archer N Throwing Axeman_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.60 false Build checkVisible 
//-- end auto generated section
				ReplaceTexture Archer N Throwing Axeman Standard/Infantry G Hoplite Bronze
				connect Righthand Hammer Hotspot
				connect LeftForearm NorseArcherShield Hotspot
				Connect TopOfHead Head hotspot
				connect Smokepoint norseaxe Hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Archer N Throwing Axeman_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.60 false Build checkVisible 
//-- end auto generated section
				ReplaceTexture Archer N Throwing Axeman Standard/infantry r legionario standard
				connect Righthand Hammer Hotspot
				connect LeftForearm NorseArcherShield Hotspot
				Connect TopOfHead Head hotspot
				connect Smokepoint norseaxe Hotspot
         }
      }
   }      
}


//==============================================================================
anim ChargedRangedAttack
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual infantry r legionario ranged
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true   
				tag GenericSound 0.40 true   
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				connect Righthand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture archer g peltast standard/infantry r legionario standard
         }
      }
   }
}
//==============================================================================
anim Charging
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual infantry r legionario ranged
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true   
				tag GenericSound 0.40 true   
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				connect Righthand Pilum Hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture archer g peltast standard/infantry r legionario standard
         }
      }
   }
}
